#include <bits/stdc++.h>
using namespace std;

int n;
const int N = 1e5 + 15;
int r[N], cnt[N];
int flag[N], num, li;

int main() {
    freopen("duel.in", "r", stdin);
    freopen("duel.out", "w", stdout);
    cin >> n;
    for (int i = 1; i <= n; i++){
        cin >> r[i];
        cnt[r[i]]++;
    }
    for (int i = 1; i < N; i++){
        if (cnt[i])
        flag[++num] = i;
    }
    li+= cnt[flag[1]];
    for (int i = 2; i <= num; i++){
        if (cnt[flag[i]] >= li){
            li = cnt[flag[i]];
        }
    }
    cout << li;
    return 0;
}